@import "common";
.dropdown {
  display: inline-block;
  width: 185px;
  height: 34px;
  line-height: 16px;
  border: 1px solid #ddd;
  font-size: 13px;
  color: #9a9a9a;
  position: relative;
  @include border-radius(4px);
  &:hover {
    border: 1px solid #aaa;
    color: #000;
  }
  &.disabled{
    border: 1px solid #ddd;
    color: #9a9a9a;
    cursor: not-allowed;
  }
  .selected {
    display: block;
    padding: 6px 22px 6px 10px;
    margin: 0;
    line-height: 16px;
    em {
      line-height: 20px;
      display: inline-block;
      width: 100%;
      font-style: normal;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    i {
      position: absolute;
      top: 9px;
      right: 4px;
    }
  }
  ul {
    width: 100%;
    position: absolute;
    z-index: 1000;
    top: 33px;
    left: 0;
    background-color: #fff;
    border: 1px solid #aaa;
    border-top: none;
    @include border-radius(0 0 4px 4px);
    li {
      height: 30px;
      padding: 8px 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      &:hover {
        background-color: #f5f5f5;
      }
    }
  }
}